package com.feng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feng.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 * @author feng
 * @since 2024-10-14 13:45:19
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {


    List<String> getPermission(String accountId);
    List<Menu> selectRouterMenuTreeByUserId(String id);

    List<Menu> selectRouterMenuTreeByAdmin();

    void AUTO_INCREMENT();
}

